home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / fish / 751-760 / 751 / yearprintq / src / yearprintq.h < prev    next >
C/C++ Source or Header  |  1995-03-18  |  5KB  |  181 lines

  1. #ifndef YEARPRINTQ_H
  2. #define YEARPRINTQ_H
  3.  
  4.  
  5. /****************************************************************************/
  6.  
  7.  
  8. /* This file was created automatically by CatComp.
  9.  * Do NOT edit by hand!
  10.  */
  11.  
  12.  
  13. #ifndef EXEC_TYPES_H
  14. #include <exec/types.h>
  15. #endif
  16.  
  17.  
  18. /****************************************************************************/
  19.  
  20.  
  21. #define MSG_RETRY_GAD 0
  22. #define MSG_RETRY_GAD_STR "Retry"
  23.  
  24. #define MSG_ABORT_GAD 1
  25. #define MSG_ABORT_GAD_STR "Abort"
  26.  
  27. #define MSG_QUIT_GAD 2
  28. #define MSG_QUIT_GAD_STR "Quit YearPrintQ"
  29.  
  30. #define MSG_CONTI_GAD 3
  31. #define MSG_CONTI_GAD_STR "Continue"
  32.  
  33. #define MSG_NOTFOUND 4
  34. #define MSG_NOTFOUND_STR "Couldn't find %s\n%s"
  35.  
  36. #define MSG_FILE 5
  37. #define MSG_FILE_STR "the file"
  38.  
  39. #define MSG_LIBRARY 6
  40. #define MSG_LIBRARY_STR "the library"
  41.  
  42. #define MSG_NOMEMORY 7
  43. #define MSG_NOMEMORY_STR "Not enough memory"
  44.  
  45. #define MSG_PRINTPROBL 8
  46. #define MSG_PRINTPROBL_STR "Error while printing"
  47.  
  48. #define MSG_FILEERROR 9
  49. #define MSG_FILEERROR_STR "Unable to read file\n%s"
  50.  
  51. #define MSG_LINEERROR 10
  52. #define MSG_LINEERROR_STR "Error in line %ld of file\n%s:\n%s"
  53.  
  54. #define MSG_SECTION 11
  55. #define MSG_SECTION_STR "False section command"
  56.  
  57. #define MSG_NOSECTION 12
  58. #define MSG_NOSECTION_STR "No section command"
  59.  
  60. #define MSG_INSECTION 13
  61. #define MSG_INSECTION_STR "False item in %s section"
  62.  
  63. #define MSG_PRINTERUSED 14
  64. #define MSG_PRINTERUSED_STR "Printer already in use?"
  65.  
  66. #define MSG_NOWINDOW 15
  67. #define MSG_NOWINDOW_STR "Couldn't open window"
  68.  
  69. #define MSG_USERBREAK 16
  70. #define MSG_USERBREAK_STR "User break"
  71.  
  72. #define MSG_CHOOSEFILE 17
  73. #define MSG_CHOOSEFILE_STR "Choose defaults file"
  74.  
  75. #define MSG_HELP 18
  76. #define MSG_HELP_STR "YearPrintQ prints one fourth of a calendar on\na sheet of paper sized DIN A5.\n\nAs some Workbench printer drivers (e.g. the one\nfor NEC_Pinwriter) print FINE with 17cpi, there\nare two modes SEMI and FINE, which both switch\nthe printer to FINE, but print with different\nline lengths."
  77.  
  78. #define MSG_QUART_GADTXT 19
  79. #define MSG_QUART_GADTXT_STR "_Quarter:"
  80.  
  81. #define MSG_ALL_GAD 20
  82. #define MSG_ALL_GAD_STR "All"
  83.  
  84. #define MSG_PITCH_GADTXT 21
  85. #define MSG_PITCH_GADTXT_STR "_Pitch:"
  86.  
  87. #define MSG_PICA_GAD 22
  88. #define MSG_PICA_GAD_STR "Pica 10cpi"
  89.  
  90. #define MSG_ELITE_GAD 23
  91. #define MSG_ELITE_GAD_STR "Elite 12cpi"
  92.  
  93. #define MSG_SEMI_GAD 24
  94. #define MSG_SEMI_GAD_STR "Semi 15cpi"
  95.  
  96. #define MSG_FINE_GAD 25
  97. #define MSG_FINE_GAD_STR "Fine 17cpi"
  98.  
  99. #define MSG_YEAR_GADTXT 26
  100. #define MSG_YEAR_GADTXT_STR "_Year:"
  101.  
  102. #define MSG_FILE_GADTXT 27
  103. #define MSG_FILE_GADTXT_STR "_File:"
  104.  
  105. #define MSG_GRAPH_GADTXT 28
  106. #define MSG_GRAPH_GADTXT_STR "_Graphics:"
  107.  
  108. #define MSG_PRINT_GAD 29
  109. #define MSG_PRINT_GAD_STR "Print _Calendar"
  110.  
  111. #define MSG_STOP_GAD 30
  112. #define MSG_STOP_GAD_STR "Interrupt printing"
  113.  
  114. #define MSG_PITCHERR 31
  115. #define MSG_PITCHERR_STR "Only one pitch argument at once."
  116.  
  117. #define MSG_YEARERR 32
  118. #define MSG_YEARERR_STR "The year has to be between 1582 and 2199."
  119.  
  120. #define MSG_QUARTERR 33
  121. #define MSG_QUARTERR_STR "The quarter should be one of 0 to 3."
  122.  
  123.  
  124. /****************************************************************************/
  125.  
  126.  
  127. #ifdef STRINGARRAY
  128.  
  129. struct AppString
  130. {
  131.     LONG   as_ID;
  132.     STRPTR as_Str;
  133. };
  134.  
  135. struct AppString AppStrings[] =
  136. {
  137.     {MSG_RETRY_GAD,MSG_RETRY_GAD_STR},
  138.     {MSG_ABORT_GAD,MSG_ABORT_GAD_STR},
  139.     {MSG_QUIT_GAD,MSG_QUIT_GAD_STR},
  140.     {MSG_CONTI_GAD,MSG_CONTI_GAD_STR},
  141.     {MSG_NOTFOUND,MSG_NOTFOUND_STR},
  142.     {MSG_FILE,MSG_FILE_STR},
  143.     {MSG_LIBRARY,MSG_LIBRARY_STR},
  144.     {MSG_NOMEMORY,MSG_NOMEMORY_STR},
  145.     {MSG_PRINTPROBL,MSG_PRINTPROBL_STR},
  146.     {MSG_FILEERROR,MSG_FILEERROR_STR},
  147.     {MSG_LINEERROR,MSG_LINEERROR_STR},
  148.     {MSG_SECTION,MSG_SECTION_STR},
  149.     {MSG_NOSECTION,MSG_NOSECTION_STR},
  150.     {MSG_INSECTION,MSG_INSECTION_STR},
  151.     {MSG_PRINTERUSED,MSG_PRINTERUSED_STR},
  152.     {MSG_NOWINDOW,MSG_NOWINDOW_STR},
  153.     {MSG_USERBREAK,MSG_USERBREAK_STR},
  154.     {MSG_CHOOSEFILE,MSG_CHOOSEFILE_STR},
  155.     {MSG_HELP,MSG_HELP_STR},
  156.     {MSG_QUART_GADTXT,MSG_QUART_GADTXT_STR},
  157.     {MSG_ALL_GAD,MSG_ALL_GAD_STR},
  158.     {MSG_PITCH_GADTXT,MSG_PITCH_GADTXT_STR},
  159.     {MSG_PICA_GAD,MSG_PICA_GAD_STR},
  160.     {MSG_ELITE_GAD,MSG_ELITE_GAD_STR},
  161.     {MSG_SEMI_GAD,MSG_SEMI_GAD_STR},
  162.     {MSG_FINE_GAD,MSG_FINE_GAD_STR},
  163.     {MSG_YEAR_GADTXT,MSG_YEAR_GADTXT_STR},
  164.     {MSG_FILE_GADTXT,MSG_FILE_GADTXT_STR},
  165.     {MSG_GRAPH_GADTXT,MSG_GRAPH_GADTXT_STR},
  166.     {MSG_PRINT_GAD,MSG_PRINT_GAD_STR},
  167.     {MSG_STOP_GAD,MSG_STOP_GAD_STR},
  168.     {MSG_PITCHERR,MSG_PITCHERR_STR},
  169.     {MSG_YEARERR,MSG_YEARERR_STR},
  170.     {MSG_QUARTERR,MSG_QUARTERR_STR},
  171. };
  172.  
  173.  
  174. #endif /* STRINGARRAY */
  175.  
  176.  
  177. /****************************************************************************/
  178.  
  179.  
  180. #endif /* YEARPRINTQ_H */
  181.